package QL;

import java.util.Map;

public class ButlerExcelUploadRequest implements IQLRequest
{
    /// <summary>
    /// 区服Id
    /// </summary>
    public long ZoneId;

    /// <summary>
    /// 分类标识
    /// </summary>
    public String Key;

    /// <summary>
    /// Excel文件名称
    /// </summary>
    public String ExcelName;

    /// <summary>
    /// Excel文件内容，原始内容进行base64编码
    /// </summary>
    public String ExcelContent;

    @Override
    public String GetApiName()
    {
        return "butler.excel.upload";
    }

    @Override
    public void Validate()
    {
    }

    @Override
    public void AddParameters(Map<String, String> map)
    {
        map.put("zone_id", String.valueOf(ZoneId));
        map.put("key", Key);
        map.put("excel_name", ExcelName);
        map.put("excel_content", ExcelContent);
    }
}
